@import './variables.module.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './ag-grid.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

//main-container全局样式
.app-container{
  padding:20px;
  height: 100%;
}
.filter-condition {
  padding: 10px;
  background-color: #fff;
  display: flex;
  height: 40px;
  align-items: center;
  border-radius: 6px;
  margin-bottom: 20px;
  .filter-item {
    display: inline-block;
    vertical-align: middle;
  }
  label{
    font-size: 16px;
    padding: 0 12px 0 8px;
  }
}

.row-label{
  font-size: 16px;
  padding: 0 12px 0 8px;
}
.align-right {
  text-align: right;
}

//add mini form
.mini-form {
  .el-form-item__label{
    font-size: 12px;
    padding: 0 6px 0 0;
  }
  .el-input--mini .el-input__inner {
    height: 24px;
    line-height: 24px;
  }
  .el-form-item--mini.el-form-item {
    margin-bottom: 2px;
  }
  .el-card__header {
    padding: 5px 20px;
  }
  .el-card__body {
    padding: 2px;
  }
}

.search-date-picker {
  width: 100% !important;
}

.splitpanes.default-theme .splitpanes__splitter {
  background-color: #fff;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  cursor: row-resize;
}

.default-theme.splitpanes--horizontal>.splitpanes__splitter, .default-theme .splitpanes--horizontal>.splitpanes__splitter {
  height: 10px;
  background-color: snow !important;
}

.splitpanes.default-theme .splitpanes__splitter:before, .splitpanes.default-theme .splitpanes__splitter:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #00000026;
  transform: translate(-50%);
  width: 40px;
  height: 2px;
  margin-top: 1px;
}
.default-theme.splitpanes--horizontal>.splitpanes__splitter:before, .default-theme .splitpanes--horizontal>.splitpanes__splitter:before {
  margin-top: -2px;
}
.default-theme.splitpanes--horizontal>.splitpanes__splitter:after, .default-theme .splitpanes--horizontal>.splitpanes__splitter:after {
  margin-top: 1px;
}
